package org.fing.edu.uy.esbadp.core.entity;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

import org.fing.edu.uy.esbadp.core.constants.EsbAdpPropertyConstants;



@XmlRootElement(name = EsbAdpPropertyConstants.CONFIG_PROPERTIES_ELEMENT)
@XmlAccessorType(XmlAccessType.FIELD)
public class DMAdpConfigProperty implements Serializable{

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5953747254402443205L;
	private String propertyName;
	private String description;
	private String value;
	
	
	public DMAdpConfigProperty(){
		
	}
	
	
	

	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}



	public String getPropertyName() {
		return propertyName;
	}



	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}



	public String getValue() {
		return value;
	}



	public void setValue(String value) {
		this.value = value;
	}


	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("   propertyName:");
		sb.append(propertyName);
		sb.append("\n");	
		if(this.description!=null){
			sb.append("   description:");
			sb.append(description);
			sb.append("\n");
		}
		
		sb.append("   value:");
		sb.append(value);
		sb.append("\n");	
	
		return sb.toString();	
	}
	
	
}
